How To Find PEs less than 0.1m Off End of Conveyors

When PEs are placed too close to the end of a Conveyor they can create a situation where they trigger multiple events. This can cause a performance loss in Sym3.

 

PEs should be placed no closer than 0.150m from the end of a Conveyor. To assist Designers, what follows is a short Macro that can be run to list all PEs that need to be adjusted.

 

//-- Get all PE Sensors
var pes = Project.Equipment.PESensors;
print(pes.Count + " PE Sensors found");

for (var i = 0; i < pes.Count; i++) {
  if (pes[i].PathDistance > pes[i].Parent.Length - 0.1) {
    var diff = pes[i].Parent.Length - 0.1 - pes[i].PathDistance;
    print(pes[i].Name + " not good " + diff)
  }
}

 

With a simple change the same script can make the necessary adjustments. See "Resources"